how to get year in react

140

how to get year in react -

getYear() {
    return new Date().getFullYear();
}

Comments

Submit
0 Comments